'use strict';

const Controller = require('egg').Controller;

class CreatorController extends Controller {
    // 获取imgs
    async imgsData() {
        const { ctx } = this;
        let res = ctx.request.body;
        let sql = `SELECT * FROM graduation.contract`
        const data = await this.app.mysql.query(sql)
        ctx.body = data;
    }
}
module.exports = CreatorController;

